![]() |
IsMenuItemIconEnabled |
||||
Header: | Menus.h | Carbon status: | Supported | |
Reports whether a given menu item icon is enabled.
Boolean IsMenuItemIconEnabled ( MenuHandle menu, UInt16 item );
A handle to the menu containing the icon to be examined.
The item number of the menu item containing the icon.
Returns true if the menu item icon is currently enabled; otherwise, false.
Your application can use the IsMenuItemIconEnabled function to determine whether a specific menu item’s icon is currently enabled or dimmed.
See also the functions DisableMenuItemIcon and EnableMenuItemIcon.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when MenusLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by MenusLib 8.5 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)